export const menuConfig = [
  {
    key: 'java-basic',
    label: 'Java基础',
    children: [
      { key: 'syntax', label: '语法基础', path: '/java-basic/syntax' },
      { key: 'oop', label: '面向对象', path: '/java-basic/oop' },
      { key: 'collection', label: '集合框架', path: '/java-basic/collection' },
      { key: 'exception', label: '异常处理', path: '/knowledge/java-basic/exception' },
      { key: 'io', label: 'IO流', path: '/knowledge/java-basic/io' },
      { key: 'thread', label: '线程基础', path: '/knowledge/java-basic/thread' },
      { key: 'generic', label: '泛型', path: '/knowledge/java-basic/generic' },
      { key: 'annotation', label: '注解', path: '/knowledge/java-basic/annotation' }
    ]
  },
  {
    key: 'java-advanced',
    label: 'Java进阶',
    children: [
      { key: 'jvm', label: 'JVM原理', path: '/knowledge/java-advanced/jvm' },
      { key: 'concurrent', label: '并发编程', path: '/knowledge/java-advanced/concurrent' },
      { key: 'performance', label: '性能优化', path: '/knowledge/java-advanced/performance' },
      { key: 'net', label: '网络编程', path: '/knowledge/java-advanced/net' },
      { key: 'lambda', label: 'Lambda表达式', path: '/knowledge/java-advanced/lambda' },
      { key: 'stream', label: 'Stream流', path: '/knowledge/java-advanced/stream' }
    ]
  },
  {
    key: 'framework',
    label: '开源框架',
    children: [
      { key: 'spring', label: 'Spring', path: '/knowledge/framework/spring' },
      { key: 'springboot', label: 'Spring Boot', path: '/knowledge/framework/springboot' },
      { key: 'springcloud', label: 'Spring Cloud', path: '/knowledge/framework/springcloud' },
      { key: 'mybatis', label: 'MyBatis', path: '/knowledge/framework/mybatis' },
      { key: 'hibernate', label: 'Hibernate', path: '/knowledge/framework/hibernate' },
      { key: 'shiro', label: 'Shiro', path: '/knowledge/framework/shiro' },
      { key: 'quartz', label: 'Quartz', path: '/knowledge/framework/quartz' }
    ]
  },
  {
    key: 'database',
    label: '数据库',
    children: [
      { key: 'mysql', label: 'MySQL', path: '/knowledge/database/mysql' },
      { key: 'redis', label: 'Redis', path: '/knowledge/database/redis' },
      { key: 'mongodb', label: 'MongoDB', path: '/knowledge/database/mongodb' },
      { key: 'oracle', label: 'Oracle', path: '/knowledge/database/oracle' },
      { key: 'postgresql', label: 'PostgreSQL', path: '/knowledge/database/postgresql' }
    ]
  },
  {
    key: 'middleware',
    label: '中间件',
    children: [
      { key: 'mq', label: '消息队列', path: '/knowledge/middleware/mq' },
      { key: 'kafka', label: 'Kafka', path: '/knowledge/middleware/kafka' },
      { key: 'rabbitmq', label: 'RabbitMQ', path: '/knowledge/middleware/rabbitmq' },
      { key: 'nginx', label: 'Nginx', path: '/knowledge/middleware/nginx' },
      { key: 'zookeeper', label: 'Zookeeper', path: '/knowledge/middleware/zookeeper' }
    ]
  },
  {
    key: 'microservice',
    label: '微服务',
    children: [
      { key: 'architecture', label: '微服务架构', path: '/knowledge/microservice/architecture' },
      { key: 'gateway', label: '服务网关', path: '/knowledge/microservice/gateway' },
      { key: 'registry', label: '服务注册与发现', path: '/knowledge/microservice/registry' },
      { key: 'config', label: '配置中心', path: '/knowledge/microservice/config' },
      { key: 'monitor', label: '服务监控', path: '/knowledge/microservice/monitor' }
    ]
  },
  {
    key: 'ai',
    label: 'AI',
    children: [
      { key: 'ml', label: '机器学习', path: '/knowledge/ai/ml' },
      { key: 'dl', label: '深度学习', path: '/knowledge/ai/dl' },
      { key: 'nlp', label: '自然语言处理', path: '/knowledge/ai/nlp' },
      { key: 'cv', label: '计算机视觉', path: '/knowledge/ai/cv' },
      { key: 'llm', label: '大模型', path: '/knowledge/ai/llm' }
    ]
  }
]
